package com.neusoft.elmboot.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.neusoft.elmboot.po.OrderDetailet;

@Mapper
public interface OrderDetailetMapper {

    // 使用 foreach 进行批量插入
    public int saveOrderDetailetBatch(List<OrderDetailet> list);

    // 查询订单明细
//@Select("SELECT * FROM orderDetailet WHERE orderId = #{orderId}")
    public List<OrderDetailet> listOrderDetailetByOrderId(Integer orderId);
}

